chore: dedupe shared rules into user-global CLAUDE.md - #62
Merged
Conversation
The "Branch Naming Convention", "PR Convention", "Issue Labels", "Code Block Formatting", and "Markdown Linting" sections were generic preferences duplicated across homelab, gearbox, and ubuntu-ha-proxy-install. They've been promoted to ~/.claude/CLAUDE.md. What remains here is the gearbox-specific scaffolding around them: the GitHub-driven workflow steps (issues + project board), the gearbox project ID and board configuration, the docs/reports/ convention, and the TOC-after-heading note for new docs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR trims repo-local CLAUDE.md guidance by removing several generic workflow and markdown preference sections and replacing them with references to a user-global ~/.claude/CLAUDE.md, leaving only gearbox-specific workflow and documentation requirements in-repo.
Changes:
- Replaced detailed branch/PR/label conventions with a pointer to
~/.claude/CLAUDE.md. - Removed the “User Preferences / Code Block Formatting” section.
- Consolidated markdown/docs guidance into a shorter section that points to
~/.claude/CLAUDE.mdwhile retaining the “TOC after main heading” requirement.
Comment on lines
+107
to
108
| Generic branching/PR/label rules live in `~/.claude/CLAUDE.md`. All of them apply here unmodified — `feature/...` and `fix/...` branches from `main`, `Closes #N` in PR bodies, the four standard labels. | ||
|
|
Comment on lines
+221
to
222
| See `~/.claude/CLAUDE.md` for markdown style and the `docs/` + kebab-case rule. This repo also requires a TOC after the main heading in new docs. | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.claude/CLAUDE.mdso they apply to every Claude Code session regardless of repo.docs/reports/path for scan output, and the TOC-after-heading note for new docs.Net change: −33 lines, +4 lines.
Companion PRs:
homelab— chore/dedup-claude-mdubuntu-ha-proxy-install— chore/dedup-claude-mdTest plan
🤖 Generated with Claude Code